﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using FT.Commons.Win32;

namespace ShopAdForm.Controls
{
    public partial class ShopTypeButton : UserControl
    {
        

        public ShopTypeButton()
        {
            InitializeComponent();

        }

        public string ShopTypeText
        {
            get
            {
                return this.label1.Text;
            }
            set
            {
                this.label1.Text = value;
                FT.Commons.Tools.WinFormHelper.Center(this.label1);
                
            }
        }
       

        private void label1_Click(object sender, EventArgs e)
        {
          //  this.Parent.cl
            this.OnClick(e);
            
        }
       // private MousePreview m_MousePreview;
       // private MousePreview m_MousePreview2;
        private void ShopTypeButton_Load(object sender, EventArgs e)
        {
            if (!this.DesignMode)
            {
               // m_MousePreview = new MousePreview(this.label1);
              //  m_MousePreview2 = new MousePreview(this);

            }
        }
    }
}
